<!DOCTYPE html>
<html lang="en">

<head>

    <include file="Public/header" />
	

</head>

<body>

    <div id="wrapper">

        <include file="Public/nav" />

        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">角色列表</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>

            <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                        	<a href="{:U('Admin/add')}" type="button" class="btn btn-sm btn-outline btn-primary">添加管理员</a>
                        </div>
                        
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                        	<div class="row">
                            	
                        	</div>
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover text-center">
                                    <thead>
                                        <tr>
                                            <th>序号</th>
                                            <th>角色名称</th>
                                            <th>分组描述</th>
                                            <th>用户列表</th>
                                            <th>操作</th>
                                            <!-- <th>登录几次</th>
                                            <th>状态</th>
                                            <th>操作</th> -->
                                        </tr>
                                    </thead>
                                    <tbody>
                                        
                                            <volist name="data.list" id="vo" key="k"> 
                                            	<tr>
	                                            	<td>{$k}</td>
	                                            	<td>{$vo.title}</td>
	                                            	<td>{$vo.des}</td>
	                                            	<td>{$vo.usernames}</td>
	                                            	<!-- <td>{$vo.login_count}</td>
	                                            	<td>{$vo.status}</td>
	                                            	<td></td> -->
	                                            	<td>
	                                            		<a href="{:U('Group/rules')}?id={$vo.id}" title="授权" type="button" class="btn btn-sm btn-outline btn-primary"><i class="fa fa-check"></i>
                           								授权
                           								</a>
	                                            	</td>
												</tr>
                                            </volist>
                                        
                                        
                                    </tbody>
                                </table>
                                
                                <div class="pull-right">
										<ul class="pagination">
											{$data.page}
										</ul>
								</div>
                            </div>
                            <!-- /.table-responsive -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-6 -->
                <!-- /.col-lg-6 -->
            </div>
            
        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <include file="Public/footer" />

</body>

</html>
